package leetcode.code0051;

import java.util.List;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution51 implements IDebug {
	public abstract List<List<String>> solveNQueens(int n);

	@Override
	public void debug1() {
		int n = 4;
		String str = "[[\".Q..\",\"...Q\",\"Q...\",\"..Q.\"],[\"..Q.\",\"Q...\",\"...Q\",\".Q..\"]]";
		List<List<String>> e = HelpDebug.str2intlist2(str);
		List<List<String>> r = this.solveNQueens(n);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int n = 1;
		List<List<String>> r = this.solveNQueens(n);
		String str = "[[\"Q\"]]";
		List<List<String>> e = HelpDebug.str2intlist2(str);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
